DescribeAssetDetailByUuids
Description
call the DescribeAssetDetailByUuids to query the details of the asset (ECS server).
Request Method
POST
Request Path
/apsara/route/Sas/DescribeAssetDetailByUuids
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
Uuids | BODY | string | Yes | 0687b17f-2a36-4e5c-b3d9 | server list. |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
ClientStatus | string | online | Agent client status. Valid values include: online: online offline: offline |
OS | string | linux | the operating system type of the server asset. |
RequestId | string | 92016EC8-D52D-49D8-9FF7-9EA340A950B9 | the unique identifier generated by alibaba cloud for this request. |
InstanceId | integer | 1312332131 | instance ID of the asset. |
Ip | string | 10.10.10.10 | the public network IP of the server, same as InternetIp. |
OsName | string | CentOS 7.6 64 bits | the operating system name of the server asset. |
IntranetIp | string | 10.10.10.10 | the private IP of the server. |
InstanceName | integer | 11 | the instance name of the asset. |
AssetType | string | 0 | type of asset. the unique value is 0, indicates an ECS server. |
Uuid | string | 01111-asdad-assd | uuid of the server. |
InternetIp | string | 10.10.10.10 | the public network IP of the server. |
RegionName | string | North China 5 (Hohhot) | the name of the region where the server is located. |
Region | string | cn-huhehaote-123-323 | the region where the server is located. |
AssetList | array | No sample value for this parameter. | returned asset details. |
VpcInstanceId | string | 13231-331331 | VPC instance ID. |
Example
Successful Response example
{
"ClientStatus":"online",
"OS":"linux",
"RequestId":"92016EC8-D52D-49D8-9FF7-9EA340A950B9",
"InstanceId":"1312332131",
"Ip":"10.10.10.10",
"OsName":"CentOS 7.6 64 bits",
"IntranetIp":"10.10.10.10",
"InstanceName":"11",
"AssetType":"0",
"Uuid":"01111-asdad-assd",
"InternetIp":"10.10.10.10",
"RegionName":"North China 5 (Hohhot)",
"Region":"cn-huhehaote-123-323",
"AssetList":"",
"VpcInstanceId":"13231-331331"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}